<a href="<?php e_page("home","index"); ?>" class="<?=0==$r['current']?'select':'';?>">首页</a>
<?php foreach($r['nav'] as $i){ ?>
<a href="<?php e_page("article","list","menu_id={$i['id']}"); ?>" class="<?=$i['id']==$r['current']?'select':'';?>" >
    <?=$i['name'];?></a>
<?php } ?>